@charset "utf-8";

.login {
  width: 100%;
  height: 100vh;
  background-image: url(../img/login/bg-right-bottom.svg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 50vw auto;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.login > div{
  width: 600px;
  height: 400px;
}
.login > div > div:nth-child(1) {
  height: 300px;
  box-shadow: 0 0 30px #999;
  display: flex;
}
.login > div > div:nth-child(2){
  margin-top: 2rem;
  text-align: center;
}
.login > div > div:nth-child(2) a {
  transition: all .5s;
  text-shadow: 1px 1px 0 #FFF;
  color: #666;
  margin: 0 0.4rem;
  text-decoration: none;
  display: inline-block;
}
.login > div > div:nth-child(2) a:hover{
  color: #000000;
  transform:scale(1.2);
}
.login > div > div:nth-child(1)>div{
  width: 300px;
  height: 300px;
  background-color: #333;
  position: relative;
  background-image: url(../img/login/show.png);
  background-size: 300px 300px;
}
.login > div > div:nth-child(1)>div::after{
  content: "";
  position: absolute;
  right: 0;
  width: 0;
  height: 0;
  top: 125px;
  box-sizing: content-box;
  border-width: 20px;
  border-color: transparent;
  border-right-color: #FFF;
  border-style: solid;
}
.login > div > div:nth-child(1)>div:last-child {
  background-color: #FFF;
  background-image: none;
}

.login h1 {
  font-size: 1.5rem;
  font-weight: bold;
  position: relative;
  margin-bottom: 1rem;
  text-indent: .5rem;
}
.login h1::before {
  content: "";
  width: 264px;
  height: 1px;
  border-bottom: solid 1px rgb(204, 204, 204);
  position: absolute;
  bottom: -7px;
  left: -8px;
}
.login .reg {
  position: absolute;
  right: 30px;
  top:32px;
}